home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / autornd3.zip / AUTORND.DOC < prev    next >
Text File  |  1993-03-03  |  13KB  |  289 lines

  1. AUTORND v.3.00 by Arun Bhalla   3/3/93
  2.  
  3.     ▒▒▒▒▒             ▒▒            ┌───────┐   │\      │  ┌───────\
  4.    ▒▒   ▒▒            ▒▒            │       │   │ \     │  │        \
  5.    ▒▒   ▒▒ ▒▒   ▒▒  ▒▒▒▒▒▒  ▒▒▒▒▒   │       │   │  \    │  │        │
  6.    ▒▒▒▒▒▒▒ ▒▒   ▒▒    ▒▒   ▒▒   ▒▒  │       │   │   \   │  │        │
  7.    ▒▒   ▒▒ ▒▒   ▒▒    ▒▒   ▒▒   ▒▒  ├───────┘   │    \  │  │        │
  8.    ▒▒   ▒▒ ▒▒   ▒▒    ▒▒   ▒▒   ▒▒  │     \     │     \ │  │        /
  9.    ▒▒   ▒▒  ▒▒▒▒▒▒    ▒▒▒▒  ▒▒▒▒▒   │      \    │      \│  ├───────/
  10.  
  11.                            The Flexible Utility
  12.                           That You Can Configure
  13.  
  14. AUTORND v.3.00 by Arun Bhalla   3/3/93
  15.  
  16. AUTORND3.ZIP contains the following files...check agaist your copy to be sure
  17. no hacks or viruses are included...
  18.  
  19. AUTORND.EXE  14,855 bytes  3-3-93  The AUTORND program  (What you waited for)
  20. AUTORND.DOC  12,915 bytes  3-3-93  This documentation file
  21. PRINTDOC.COM    460 bytes  3-3-93  Program which will PRINT this file...
  22. #.COM         1,424 bytes  3-3-93  Finds #'s in CBBS0393.NAM   (see #.DOC)
  23. #.DOC         2,930 bytes  3-3-93  Documentation for the #.COM program
  24. FILE_ID.DIZ     692 bytes  3-3-93  Description in zip file....keep in ZIP!
  25. DESC.SDI         46 bytes  3-3-93  Short description... keep in ZIP!
  26. REGISTER.FRM  3,041 bytes  3-3-93  Registration form...print it out!!!
  27. README.EXE   14,605 bytes  3-3-93  AUTORND.DOC in executable format
  28.  
  29. That seems to be all for the files  (for now) <G>.  Check the date and file  
  30. sizes of the files so that you know that no viruses, hacks, or files that
  31. aren't supposed to be in AUTORND.DOC are not in it... You can always ignore
  32. this if you want....  It may or may not affect how this program works, but a
  33. virus will usually affect the way your computer works <G>.  I have checked all
  34. files for viruses with SCAN v.100 by McAfee Associates.
  35.  
  36. Before we get started....let's review the LICENSE AGREEMENT....
  37.  
  38.  
  39. THE LICENSE AGREEMENT:
  40.  
  41. By using this program, you fully agree to the following terms:
  42.  1.  You will use this program for up to seven to fourteen days.  After that 
  43.      period of time, you must decide to keep it or remove if off your system
  44.      completely and permanently.  If you decide to keep it on your system, 
  45.      please, please pay a small registration fee ($5) to show that you like my
  46.      hard work and wouldn't mind seeing new versions.  Print out REGISTER.FRM
  47.      fill it out, and mail me, with your cash.  Include any comments/suggestions
  48.      which will help me for sure.
  49.  
  50.  2.  VENDORS!!!:  Since this is SHAREWARE, the SHAREWARE version may be 
  51.      distributed by anyone, including distributors, as long as the REGISTERED 
  52.      version is not distributed, and as long as you don't charge anyone over $6 
  53.      per disk. If you want to charge more, send me $2 my mail, or ask me via one 
  54.      of the ways listed below, and I will consider it.
  55.  
  56.  3.  The REGISTERED version can only be used on one computer at a time, but may
  57.      be accessed via a network providing that the program exists physically on 
  58.      one computer only.
  59.  
  60.  4.  By using this program, you agree that I, Arun Bhalla, am not responsible
  61.      for any damage, loss profit, hard feelings, loss sleep, etc., that may
  62.      occur... Use at your own risk, but don't fear me... I tested it on my PC
  63.      and it works great.
  64.  
  65.  5.  This product may not be bundled with any commercial software or hardware
  66.      product.  If this is bundled with a shareware, freeware, or public domain
  67.      product, please respect my request in the registration fee.
  68.  
  69.  6.  Custom versions, commercial licenses, site licenses, etc. are available.
  70.      Contact me in one of the ways listed below to haggle out what you want.
  71.  
  72. Enough of that, which you probably simply skimmed through (though I would
  73. recommend a reread).  You are now probably asking, "What does this program do,
  74. and how can I use it?"  Good question...keep reading....
  75.  
  76.  
  77. How to use AUTORND....
  78.  
  79. AUTORND was originally developed to randomly play on of four .MODs (music
  80. files) with the MODPLAY program  (I did not program MODPLAY).  The program I
  81. wrote worked so well that I decided to make a SHAREWARE version of it that
  82. could pick one of FOUR batch files and run it.  In this newest version, AUTORND 
  83. can pick one of 99,999,999 batch files (almost infinity <G>).I've decided to 
  84. share this idea with you, but I hope you can share your generosity with me...
  85.  
  86. AUTORND best works as an entry in the AUTOEXEC.BAT..( as in "AUTOexec.bat 
  87. RaNDom play).  Possible uses of AUTORND are that you could make four batch 
  88. files that AUTORND would choose one of and run it.  In each batch file, you 
  89. could tell DOS to play a song, run a backup program, display ANSI, make the  PC
  90. talk with a PCVOICE program, or display a GIF using GIFEXE.  If you can't decide 
  91. which game to play, use AUTORND!  Want a variety of ANSI screens on your BBS? 
  92. Use AUTORND!!!... The possibilities are endless, so register and save this 
  93. program!!!  If you can't use it now, don't delete it....you might be able to use 
  94. it tomorrow...
  95.  
  96.  
  97. Running AUTORND...
  98.  
  99. When you first load AUTORND, a small screen comes up, saying this is the AUTORND
  100. program, the compile date, the version number, and whether or not it is 
  101. registered or not.  Obviously, when you get it, it is SHAREWARE.  The SHAREWARE
  102. version displays the screen, the REGISTERED version does not.  Therefore, if
  103. you don't want to see that annoying screen, I urge you to register!!!  The 
  104. SHAREWARE version is fully-functional, except for that first screen that will
  105. popup and intentionally wait for a second and then "do it's duty".  As for the
  106. REGISTERED version, you don't even notice AUTORND at all.
  107.  
  108.  
  109. The batch files...
  110.  
  111. I hope you know how to work batch files.... the basics will do.  If you can 
  112. modify your AUTOEXEC.BAT file, you can make batch files.  Make as many batch
  113. files as you want, from as low as one or two to as high as 99,999,999 (for the
  114. real professionals.)  For example, suppose you wanted to make 7 different batch
  115. files.  You would make these batch files using your favorite text editor:
  116. 1.BAT  2.BAT  3.BAT  4.BAT  5.BAT  6.BAT  7.BAT
  117. In each file, set up the batch file the way you want it to.  Test if out, if
  118. you desire...  I guarantee that my program will work...  Any errors would be in
  119. your batch file, or if you did not create these batch files.
  120. The last possible batch file is 99999999.BAT, limited only by DOS.  For most
  121. people, this is an unlimited number of batch files.  Most people probably won't
  122. go higher than 100, but why should I limit you at all?
  123.  
  124.  
  125. Simple isn't it?
  126.  
  127.  
  128. As for executing AUTORND, the format is as follows:
  129.  
  130. C:\> AUTORND  {#} {?}
  131.  ^             ^   ^
  132.  |             |   +--------  loads help screen
  133.  |             +---- a number from 1 to 99999999
  134.  +----DOS Prompt
  135.  
  136. At the DOS prompt, simply type "AUTORND" (without quotes) followed by either
  137. a number (representing the greatest batch file created) or a question mark
  138. to load up a help screen.
  139. For compatibility with AUTORND v.2.00, the default number of batch files is 4.
  140. This means, if you simply type "AUTORND" at the DOS prompt without any 
  141. arguments, AUTORND will choose a batch file between 1 and 4, inclusive.  This 
  142. shouldn't be too complicated....  If you have questions, contact me.
  143.  
  144.  
  145.  
  146. Notes for adding it to the AUTOEXEC.BAT:
  147.  
  148. A good idea would be to run AUTORND.EXE after the time & date are set, if 
  149. applicable, and after all device drivers, but before you load an environment,
  150. such as Windows... Insert a line, like this:
  151.  
  152. AUTORND 10
  153.  
  154. (This would execute one of 10 batch files, randomly chosen by AUTORND.)
  155.  
  156. Add a path, if necessary, before AUTORND.  The batch files must either be in
  157. a directory in the PATH, or in the current directory (which would be the root 
  158. directory when AUTORND is in the AUTOEXEC.BAT file.)  
  159. Once again, by not adding the argument (number) after the "AUTORND", the
  160. default is 4 batch files.
  161.  
  162.  
  163. Errors/exit codes:
  164.  
  165. Exit code/errorlevel 0:  batch file was executed normally
  166. Exit code/errorlevel 1:  bad